package com.example.mapper;

import com.example.entity.Institutions;

import java.util.List;

public interface InstitutionsMapper {
    boolean add(Institutions institutions);

    boolean delete(Institutions institutions);

    boolean update(Institutions institutions);

    List<Institutions> searchByName(Institutions institutions);

    Institutions getById(Integer id);

    List<Institutions> list();

    List<Institutions> listAll();
}
